Call Transfer Method and User Equipment

ABSTRACT

A call transfer method and user equipment relate to the communications field, where the method includes acquiring a phone number of a current call to first user equipment, determining whether the phone number of the current call is a trigger number, determining whether a ring parameter corresponding to the number of the call meets a preset condition when the phone number of the current call is the trigger number, and sending a call transfer instruction to a server when the ring parameter corresponding to the number of the call meets the preset condition such that when a number of a call is a trigger number and a ring parameter corresponding to the number of the call meets a preset condition, the call to first user equipment is transferred.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a U.S. national stage of International ApplicationNo. PCT/CN2014/083211, filed on Jul. 29, 2014, which is herebyincorporated by reference in its entirety.

TECHNICAL FIELD

The present disclosure relates to the communications field, and inparticular, to a call transfer method and user equipment.

BACKGROUND

In the prior art, first user equipment (such as a smartphone) having acall transfer function may transfer a call to itself to second userequipment using the call transfer function such that when the first userequipment is unavailable, a user can answer the call to the first userequipment using the second user equipment. However, how to transfer acall to the first user equipment to the second user equipment using thecall transfer function becomes one of problems that need to be resolvedby call transfer.

The prior art provides a call transfer method, where the method includesmaking a call for setting to a network in which first user equipment islocated, and then under the guidance of a network side, remotely settinga call transfer function of the first user equipment, and transferring acall to the first user equipment to second user equipment by means ofmanual setting. The prior art also provides another call transfermethod, where the method includes sending a short message servicemessage including an activation instruction and a phone number of seconduser equipment to first user equipment, and after the first userequipment receives the short message service message, activating, by thefirst user equipment, a call transfer function of the first userequipment, and transferring a call to the first user equipment to thesecond user equipment.

Because the first method provided by the prior art requires a networkside and a user to perform manual setting, while in the other methodprovided by the prior art, a user needs to edit an activationinstruction and a phone number in a short message service message,operation processes of the two methods are complex. As a result accuracyof the call transfer is reduced when a user performs call transfer usingthe foregoing two methods.

SUMMARY

Embodiments of the present disclosure provide a call transfer method anduser equipment such that when a number of a call is a trigger number andit is determined that a ring parameter corresponding to the number ofthe call meets a preset condition, the call to first user equipment istransferred, thereby improving accuracy of call transfer and improvingan interactive capability of the user equipment. The technical solutionsare as follows.

According to a first aspect, user equipment is provided, where the userequipment includes an acquiring unit configured to acquire a phonenumber of a current call to first user equipment, a determining unitconfigured to determine whether the phone number of the current call isa trigger number, where when the phone number of the current call is thetrigger number, the determining unit is further configured to determinewhether a ring parameter corresponding to the number of the call meets apreset condition, where the ring parameter includes a quantity of ringsand/or duration of a ring, and a sending unit configured to send a calltransfer instruction to a server if the ring parameter corresponding tothe number of the call meets the preset condition, where the calltransfer instruction is used to instruct the server to transfer, afterreceiving the call transfer instruction, the call to the first userequipment to second user equipment corresponding to the number of thecall.

With reference to the first aspect, in a first possible implementationmanner, the determining unit is further configured to perform at leastone of determining that a time of the current call is within a workingperiod, determining that a location of the first user equipment is apreset location, and determining that the first user equipment is notconnected to a wearable device.

With reference to the first aspect or the first possible implementationmanner of the first aspect, in a second possible implementation manner,the user equipment further includes a setting unit, where the settingunit is configured to receive a setting instruction input by a user, andset and store at least one trigger number according to the settinginstruction.

With reference to any one of the first aspect to the second possibleimplementation manner of the first aspect, in a third possibleimplementation manner, the sending unit is further configured to sendfirst prompt information to the second user equipment, where the firstprompt information is used to indicate that the call to the first userequipment is already transferred to the second user equipment.

With reference to any one of the first aspect to the third possibleimplementation manner of the first aspect, in a fourth possibleimplementation manner, the sending unit is further configured to send,to a sending device that sends the short message service message, thirdprompt information that is used to indicate that the call to the firstuser equipment is already transferred to the second user equipment afterreceiving a short message service message.

According to a second aspect, a call transfer method is provided, wherethe method includes acquiring a phone number of a current call to firstuser equipment, determining whether the phone number of the current callis a trigger number, determining whether a ring parameter correspondingto the number of the call meets a preset condition if the phone numberof the current call is the trigger number, where the ring parameterincludes a quantity of rings and/or duration of a ring, and sending acall transfer instruction to a server if the ring parametercorresponding to the number of the call meets the preset condition,where the call transfer instruction is used to instruct the server totransfer the call to the first user equipment to second user equipmentcorresponding to the number of the call.

With reference to the second aspect, in a first possible implementationmanner, before transferring the call to the first user equipment tosecond user equipment corresponding to the number of the call, themethod further includes at least one of determining that a time of thecurrent call is within a working period, determining that a location ofthe first user equipment is a preset location, and determining that thefirst user equipment is not connected to a wearable device.

With reference to the second aspect or the first possible implementationmanner of the second aspect, in a second possible implementation manner,receiving a setting instruction input by a user, and setting and storingat least one trigger number according to the setting instruction.

With reference to any one of the second aspect to the second possibleimplementation manner of the second aspect, in a third possibleimplementation manner, after transferring the call to the first userequipment to second user equipment corresponding to the number of thecall, the method further includes sending first prompt information tothe second user equipment, where the first prompt information is used toindicate that the call to the first user equipment is alreadytransferred to the second user equipment.

With reference to any one of the second aspect to the third possibleimplementation manner of the second aspect, in a fourth possibleimplementation manner, after transferring the call to the first userequipment to second user equipment corresponding to the number of thecall, the method further includes sending second prompt information to asending device that sends the short message service message afterreceiving a short message service message, where the second promptinformation is used to indicate that the call to the first userequipment is already transferred to the second user equipment.

According to a third aspect, user equipment is provided, where the userequipment includes a transmitter, a receiver, a memory, and a processorthat communicates separately with the transmitter, the receiver, and thememory, where the memory stores a set of program code, and the processoris configured to invoke the program code stored in the memory to performthe following operations. The processor is configured to acquire a phonenumber of a current call to first user equipment, determine whether thephone number of the current call is a trigger number, and determinewhether a ring parameter corresponding to the number of the call meets apreset condition if the phone number of the current call is the triggernumber, where the ring parameter includes a quantity of rings and/orduration of a ring, and the transmitter is configured to send a calltransfer instruction to a server if the ring parameter corresponding tothe number of the call meets the preset condition, where the calltransfer instruction is used to instruct the server to transfer the callto the first user equipment to second user equipment corresponding tothe number of the call.

With reference to the third aspect, in a first possible implementationmanner, before sending the call transfer instruction to the server, theprocessor is configured to perform at least one of determining that atime of the current call is within a working period, determining that alocation of the first user equipment is a preset location, anddetermining that the first user equipment is not connected to a wearabledevice.

With reference to the first aspect or the first possible implementationmanner of the first aspect, in a second possible implementation manner,before determining whether the phone number of the current call is thetrigger number, the processor is further configured to receive a settinginstruction input by a user, and set and store at least one triggernumber according to the setting instruction.

With reference to any one of the first aspect to the second possibleimplementation manner of the first aspect, in a third possibleimplementation manner, the transmitter is further configured to sendfirst prompt information to the second user equipment, where the firstprompt information is used to indicate that the call to the first userequipment is already transferred to the second user equipment.

With reference to any one of the first aspect to the third possibleimplementation manner of the first aspect, in a fourth possibleimplementation manner, the receiver is configured to receive a shortmessage service message, and after the receiver receives a short messageservice message, the transmitter is further configured to send secondprompt information to a sending device that sends the short messageservice message, where the second prompt information is used to indicatethat the call to the first user equipment is already transferred to thesecond user equipment.

The embodiments of the present disclosure provide a call transfer methodand user equipment such that when a number of a call is a trigger numberand it is determined that a ring parameter corresponding to the numberof the call meets a preset condition, the call to first user equipmentis transferred, thereby improving accuracy of call transfer andimproving an interactive capability of the user equipment.

BRIEF DESCRIPTION OF DRAWINGS

To describe the technical solutions in the embodiments of the presentdisclosure more clearly, the following briefly describes theaccompanying drawings required for describing the embodiments. Theaccompanying drawings in the following description show merely someembodiments of the present disclosure, and a person of ordinary skill inthe art may still derive other drawings from these accompanying drawingswithout creative efforts.

FIG. 1 is a flowchart of a call transfer method according to anembodiment of the present disclosure;

FIG. 2 is a flowchart of a call transfer method according to anotherembodiment of the present disclosure;

FIG. 3 is a flowchart of a call transfer method according to anotherembodiment of the present disclosure;

FIG. 4 is a schematic structural diagram of user equipment according toanother embodiment of the present disclosure; and

FIG. 5 is a schematic structural diagram of user equipment according toanother embodiment of the present disclosure.

DESCRIPTION OF EMBODIMENTS

To make the objectives, technical solutions, and advantages of thepresent disclosure clearer, the following further describes theembodiments of the present disclosure in detail with reference to theaccompanying drawings.

It should be noted that in embodiments of the present disclosure, twoclauses connected using “if . . . , . . .” only mean that the previousclause is a condition for the following clause. For example, for “if apreset condition is met, a preset operation is performed,” for thepreset operation, in an actual application, the current preset operationmay be performed when only the preset condition is met, or the currentpreset operation may be performed when the preset condition and anotherpreset condition are both met. Using an embodiment of the presentdisclosure as an example, after determining that a number of a call is atrigger number and the number of the call meets a preset condition,first user equipment may send a call transfer instruction to a server,or after determining that a number of a call is a trigger number anddetermining that a ring parameter corresponding to the number of thecall meets a preset condition and another preset condition, the firstuser equipment may send a call transfer instruction to a server.

An embodiment of the present disclosure provides a call transfer method,where the method is applied to first user equipment having a calltransfer function, application scenarios of the method may includescenario 1 which indicates a user leaves the first user equipment at afirst location and the user uses second user equipment at a secondlocation, and scenario 2 which indicates the user uses both the firstuser equipment and the second user equipment at the second location, butthe user cannot answer a call to the first user equipment, where thefirst location and the second location are preset, and the firstlocation may be residence of the user, and the second location may be aworking place of the user, and the application scenarios of the methodprovided by this embodiment of the present disclosure may furtherinclude a scenario in which another user cannot answer a call to thefirst user equipment but can answer a call to the second user equipment,which is not limited in this embodiment of the present disclosure.

An embodiment of the present disclosure provides a call transfer method.Referring to FIG. 1, the method includes the following steps.

Step 101: Acquire a phone number of a current call to first userequipment.

Before step 101, the first user equipment receives a setting instructioninput by a user and sets and stores at least one trigger numberaccording to the setting instruction, where the trigger number includesa fixed-line phone number and a mobile phone number.

Optionally, when there is a call to the first user equipment, step 101is triggered to acquire call information of the current call, and thefirst user equipment parses the call information to acquire the phonenumber of the current call.

Step 102: Determine whether the phone number of the current call is atrigger number.

Because the trigger number is a number that triggers the first equipmentto perform call transfer, the trigger number may be a fixed-line phonenumber or a mobile phone number. Matching may be performed between thenumber of the call and each trigger number stored by the first userequipment, and it is determined, according to a matching result, whetherthe number of the call is the trigger number.

Optionally, the first user equipment may also preset a numberdetermining algorithm, input the number of the call to the numberdetermining algorithm, and determine, according to an output result ofthe number determining algorithm, whether the number of the call is thetrigger number.

Step 103: If the phone number of the current call is the trigger number,determine whether a ring parameter corresponding to the number of thecall meets a preset condition, where the ring parameter includes aquantity of rings and/or duration of a ring.

Before step 103, the ring parameter needs to be acquired in advance.Optionally, an acquiring process includes, but is not limited to, thefollowing manners receiving a ring parameter sent by a server, orlocally receiving a setting instruction input by user equipment, andsetting a ring parameter according to the setting instruction.

The ring parameter may include, but is not limited to, a quantity ofrings and/or duration of a ring. Correspondingly, determining whether aring parameter corresponding to the number of the call meets a presetcondition may include determining, in a preset time, whether thequantity of rings is greater than or equal to a preset quantity, ordetermining whether the duration of the ring is greater than or equal toa preset time, where the duration of the ring is determined according toa first time when the ring starts and a second time when the ring ends.

Step 104: If the ring parameter corresponding to the number of the callmeets the preset condition, send a call transfer instruction to aserver.

This embodiment of the present disclosure provides a call transfermethod and user equipment such that when a number of a call is a triggernumber and it is determined that a ring parameter corresponding to thenumber of the call meets a preset condition, the call to first userequipment is transferred, thereby improving accuracy of call transferand improving an interactive capability of the user equipment.

Another embodiment of the present disclosure provides a call transfermethod. Referring to FIG. 2, the method includes the following steps.

Step 201: First user equipment receives a setting instruction input by auser, and sets and stores at least one trigger number according to thesetting instruction.

Optionally, the first user equipment may display a number settinginterface for the user, then receive a setting instruction triggered bythe user on the number setting interface, acquire, according to thesetting instruction, a phone number indicated by the setting instructionfrom at least one phone number stored by the first user equipment, setthe phone number as a trigger number, and store the trigger number.

The first user equipment may also display, after the user manuallyinputs a phone number, a number setting interface corresponding to thephone number for the user such that the user can use the number settinginterface to trigger a setting instruction, and after receiving thesetting instruction, the first user equipment sets the phone numbermanually input by the user as a trigger number according to the settinginstruction and stores the trigger number.

The first user equipment may also display, after receiving a phonenumber sent by another user equipment or a network device, a numbersetting interface corresponding to the phone number for the user, andthen receive a setting instruction triggered by the user on the numbersetting interface, and the user equipment sets the received phone numberas a trigger number according to the setting instruction and stores thetrigger number.

In addition, the first user equipment may also set and store a triggernumber in another manner, which is not limited thereto.

It should be noted that step 201 is a process of setting and storing theat least one trigger number, and in an actual application, in a processafter step 202 and step 202 are performed by the first user equipment,the first user equipment can directly use the set and stored triggernumber.

Step 202: The first user equipment acquires a phone number of a currentcall.

Optionally, step 202 may be triggered to acquire call information of thecurrent call when there is a call to the first user equipment.

The first user equipment parses the call information to acquire thephone number of the current call.

Because the call information may be a dual tone multi frequency (DTMF)signal of the current call, after acquiring the DTMF signal of thecurrent call, the first user equipment may parse the DTMF signal, andacquires the phone number of the current call by parsing the DTMFsignal.

A specific parsing process is not limited in this embodiment of thepresent disclosure.

Step 203: The first user equipment determines whether the number of thecall is a trigger number, and performs step 204 if the number of thecall is the trigger number, and ends the process if the number of thecall is not the trigger number.

Optionally, the first user equipment may perform matching between thenumber of the call and each trigger number stored by the first userequipment, and it is determined, according to a matching result, whetherthe number of the call is the trigger number.

Optionally, the first user equipment may also preset a numberdetermining algorithm, input the number of the call to the numberdetermining algorithm, and determine, according to an output result ofthe number determining algorithm, whether the number of the call is thetrigger number.

In addition, the first user equipment may also determine, in anothermanner, whether the number of the call is the trigger number, which isnot limited in this embodiment of the present disclosure.

Exemplarily, the trigger number includes a fixed-line phone number and amobile phone number, and a specific form of the trigger number is notlimited in this embodiment of the present disclosure.

Step 204: The first user equipment determines whether a ring parametercorresponding to the number of the call meets a preset condition, and ifthe ring parameter meets the preset condition, performs step 205, and ifthe ring parameter does not meet the preset condition, ends the process.

Optionally, the ring parameter may be acquired in advance, and aspecific acquiring process includes, but is not limited to, thefollowing manners. Receiving a ring parameter sent by a server, orlocally receiving a setting instruction input by user equipment, andsetting a ring parameter according to the setting instruction.

The ring parameter may include, but is not limited to, a quantity ofrings and/or duration of a ring, and determining whether a ringparameter corresponding to the number of the call meets a presetcondition if the ring parameter is the quantity of rings may beperforming statistics on a quantity of rings within a preset time, anddetermining whether the quantity of rings is greater than or equal to apreset quantity, and if the quantity of rings is greater than or equalto the preset quantity, performing step 205, and if the quantity ofrings is less than the preset quantity, ending the process. The presetquantity is not limited in this embodiment, for example, the presetquantity may be 3, 4, 5, or the like.

If the ring parameter is the duration of the ring, determining whether aring parameter corresponding to the number of the call meets a presetcondition may include recording a first time when the ring starts and asecond time when the ring ends, and acquiring the duration of the ringaccording to the first time and the second time, determining whether theduration of the ring is greater than or equal to a preset time,performing step 205 if the duration is greater than or equal to thepreset time, and ending the process if the quantity of rings is lessthan the preset time. The preset time is not further limited in thisembodiment, for example, the preset time may be 5 seconds (s), 6 s, 7 s,or the like.

The first user equipment may determine, by determining whether the ringparameter corresponding to the number of the call is greater than orequal to the preset condition, that the user cannot answer the currentcall such that in a scenario in which the user can answer the first userequipment, the first user equipment is prevented from transferring thecurrent call to the first user equipment to second user equipmentcorresponding to the phone number of the current call because the userdoes not answer the current call in time.

Optionally, in order to prevent the first user equipment fromtransferring the call to the first user equipment to the second userequipment because the user does not answer the call to the first userequipment because the preset condition does not accord with an actualsituation in the scenario 2, a minimum value of the preset condition maybe set such that the preset condition set by the first user equipmentaccording to the setting instruction input by the user is not less thanthe minimum value.

Optionally, after step 204, the first user equipment may also determinewhether a time of the current call is within a working period, and ifthe time of the current call is within the working period, perform step205, and if the time of the current call is not within the workingperiod, end the process. A specific determining process may includeacquiring, by the first user equipment, the time of the current call,and comparing the time of the current call with a preset working period,and determining, according to a comparison result, whether the time ofthe current call is within the working period. A process of setting theworking period may include that the first user equipment may display atime setting interface for the user, receive a time setting instructiontriggered by the user on the time setting interface, and set a periodindicated by the time setting instruction to the working period, or thefirst user equipment performs statistics on locations of the first userequipment in different periods, determines that a location that appearsmost frequently in a first time and a second time is a working place,and sets a period corresponding to the working place to the workingperiod.

Besides the foregoing two manners for setting a working period, userequipment may set the working period in another manner, which is notlimited in this embodiment of the present disclosure.

The first user equipment determines that the time of the call is withinthe working period and transfers the call to the first user equipment tothe second user equipment corresponding to the number of the call suchthat when the second user equipment is a device used by the user duringworking, a user is prevented from missing an important call within aworking time and a call that is not within the working time is preventedfrom being transferred to the second user equipment corresponding to thenumber of the call.

Optionally, the first user equipment may also determine whether alocation of the first user equipment is a first location, perform step205 if the location of the first user equipment is the first location,and end the process if the location of the first user equipment is notthe first location. A process in which the first user equipmentdetermines whether the location of the first user equipment is the firstlocation may include acquiring, by the first user equipment, thelocation of the first user equipment, where the first user equipment mayacquire the location of the first user equipment using a globalpositioning system (GPS), cellular network cell identifier (Cell ID)positioning, Wi-Fi positioning, and the like, and the first userequipment may also acquire the location of the first user equipment inanother manner, which is not limited in this embodiment of the presentdisclosure, and determining, by the first user equipment, whether thelocation of the first user equipment is the preset first location,performing step 205 if the location is the first location, and endingthe process if the location is not the first location.

Optionally, the first user equipment may perform matching between thelocation of the first user equipment and the first location, anddetermine, according to a matching result, whether the location of thefirst user equipment is the first location, or the first user equipmentmay also preset a location determining algorithm, input the location ofthe first user equipment to the location determining algorithm, and thendetermine, according to an output result of the location determiningalgorithm, whether the location of the first user equipment is the firstlocation.

In addition, the first user equipment may also determine, in anothermanner, whether the location of the first user equipment is the firstlocation, which is not limited herein.

A process of setting the first location may include that the first userequipment may display a location setting interface for the user, thenreceive a location setting instruction triggered by the user on thelocation setting interface, and set a location indicated by the locationsetting instruction to the first location, or the first user equipmentperforms statistics on locations of the first user equipment in a firsttime, determines that a location that appears most frequently in thefirst time is the first location, and stores the first location.

In addition, the first user equipment may also set and store the firstlocation in another manner, which is not limited in this embodiment ofthe present disclosure.

It is determined that the location of the first user equipment is thepreset first location and the call to the first user equipment istransferred to the second user equipment corresponding to the number ofthe call such that in the scenario 1, the user can use the second userequipment to answer, at the second location, the call to the first userequipment at the first location, thereby preventing the user frommissing an important call because the user cannot answer the first userequipment.

It should be noted that, in an actual application, either or both ofdetermining whether the time of the call is within the working periodand determining whether the location of the first user equipment is thefirst location may be performed. If both are performed, after it isdetermined whether the time of the call is within the working period, itmay be determined whether the location of the first user equipment isthe first location, and after it is determined that the location of thefirst user equipment is the first location, step 205 is performed, orafter it is determined that the location of the first user equipment isthe first location, it may be determined whether the time of the call iswithin the working period, and after it is determined that the time ofthe call is a working time, step 205 is performed, or determiningwhether the time of the call is within the working period and thedetermining whether the location of the first user equipment is thefirst location may be performed, and after it is determined that thetime of the call is within the working period and it is determined thatthe location of the first user equipment is the first location, step 205is performed. An order of determining whether the time of the call iswithin the working period and determining whether the location of thefirst user equipment is the first location is not limited in thisembodiment.

Step 205: The first user equipment sends a call transfer instruction toa server.

Optionally, the first user equipment sends the call transfer instructionto the server, where the call transfer instruction may include a DTMFsequence of the trigger number, and the call transfer instruction isused to instruct the server, after receiving the call transferinstruction, to transfer the call to the first user equipment to thesecond user equipment corresponding to the trigger number.

Optionally, after the call to the first user equipment is successfullytransferred to the second user equipment corresponding to the triggernumber, first prompt information used to indicate that the call to thefirst user equipment is already transferred to the second user equipmentmay be sent to the second user equipment.

Optionally, after the call to the first user equipment is transferred tothe second user equipment corresponding to the trigger number, the firstuser equipment may also periodically display transfer-completion promptinformation used to indicate that the call to the first user equipmentis already transferred to the second user equipment, and in the scenario2, when the user can use the first user equipment, the user may stop acall transfer function of the first user equipment on the first userequipment after acquiring the transfer-completion prompt information.Exemplarily, the transfer-completion prompt information may include, butis not limited to, audio information.

Optionally, because the first user equipment can only transfer the callto the second user equipment, in order to not to miss any importantshort message service message on the first user equipment, afterreceiving a short message service message, the first user equipment mayalso send, to a sender of the short message service message, secondprompt information used to indicate that the call to the first userequipment is already transferred to the second user equipment. In orderto reduce resources of the first user equipment, at least one importantnumber may be preset, and after a short message service message isreceived, it is determined whether a phone number of a sender that sendsthe short message service message is an important number, the secondprompt information used to indicate that the call to the first userequipment is already transferred to the second user equipment is sent tothe sender if the phone number of the sender is an important number, andno processing is performed on the short message service message if thephone number of the sender is not an important number.

Optionally, the trigger number may be further reset after the first userequipment receives a resetting instruction input by the user. Thetrigger number may be added or deleted. A specific process may includethat the first user equipment may display a number resetting interfacefor the user, then receive a resetting instruction triggered by the useron the number resetting interface, and add or delete the trigger numberaccording to the resetting instruction.

It should be noted that “first” and “second’ in this embodiment of thepresent disclosure are merely used to differentiate the differencebetween them but not specific references.

This embodiment of the present disclosure provides a call transfermethod and user equipment such that when a number of a call is a triggernumber and it is determined that a ring parameter corresponding to thenumber of the call meets a preset condition, the call to first userequipment is transferred, thereby improving accuracy of call transferand improving an interactive capability of the user equipment.

Another embodiment of the present disclosure provides a call transfermethod, and a difference from the foregoing embodiment is that userequipment to which the method is applied may be in a wireless connectionto a wearable device wore by a user, where the wearable device has acall prompt function, and the wearable device may include, but is notlimited to, a BLUETOOTH device, and the wearable device and first userequipment have same account information, that is, the wearable devicemay share, view, or edit information, a call, an instant message, or thelike on the first user equipment. Referring to FIG. 3, the methodincludes the following steps.

Step 301: First user equipment receives a setting instruction input by auser, and sets and stores at least one trigger number according to thesetting instruction.

This step is the same as step 201 in the foregoing embodiment, anddetails are not described herein again.

Step 302: The first user equipment acquires a phone number of a currentcall.

This step is the same as step 202 in the foregoing embodiment, anddetails are not described herein again.

Step 303: The first user equipment determines whether the number of thecall is a trigger number, performs step 304 if the number of the call isthe trigger number, and ends the process if the number of the call isnot the trigger number.

This step is the same as step 203 in the foregoing embodiment, anddetails are not described herein again.

Step 304: The first user equipment determines whether a ring parametercorresponding to the number of the call meets a preset condition,performs step 305 if the ring parameter meets the preset condition, andends the process if the ring parameter does not meet the presetcondition.

This step is the same as step 204 in the foregoing embodiment, anddetails are not described herein again.

Optionally, after step 304, the first user equipment may also determinewhether a time of the current call is within a working period, performstep 305 if the time of the current call is within the working period,and end the process if the time of the current call is not within theworking period. A specific determining process is the same as that inthe foregoing embodiment, and details are not described herein again.

Optionally, the first user equipment may also determine whether alocation of the first user equipment is a first location, perform step305 if the location of the first user equipment is the first location,and end the process if the location of the first user equipment is notthe first location. A specific determining process is the same as thatin the foregoing embodiment, and details are not described herein again.

The first user equipment determines that the time of the call is withinthe working period and transfers the call to the first user equipment tosecond user equipment corresponding to the number of the call such thatwhen the second user equipment is a device used by the user duringworking, a user is prevented from missing an important call within aworking time and a call that is not within the working time is preventedfrom being transferred to the second user equipment corresponding to thenumber of the call.

It is determined that the location of the first user equipment is thepreset first location and the call to the first user equipment istransferred to the second user equipment corresponding to the number ofthe call such that in the scenario 1, the user can use the second userequipment to answer, at a second location, the call to the first userequipment at the first location, thereby preventing the user frommissing an important call because the user cannot answer the first userequipment.

Step 305: The first user equipment determines whether the first userequipment is connected to a wearable device, performs step 306 if thefirst user equipment is not connected to the wearable device, and endsthe process if the first user equipment is connected to the wearabledevice.

Further, the first user equipment may determine, according to deviceinformation of all devices connected to the first user equipment,whether the first user equipment is connected to the wearable device.

Because when another device is connected to the first user equipment,the first user equipment stores device information of the other deviceconnected to the first user equipment. Exemplarily, the deviceinformation may be a media access control (MAC) address or a name of theother device.

It should be noted that, in an actual application, any one or three ofdetermining whether the time of the call is within the working period,determining whether the location of the first user equipment is thefirst location, and determining whether the user equipment is connectedto the wearable device may be performed. If the three are performed,after it is determined whether the time of the call is a working timeand it is determined that the location of the first user equipment isthe first location, it may be determined whether the user equipment isconnected to the wearable device, and after it is determined that theuser equipment is not connected to the wearable device, step 305 isdetermined to be performed, or after it is determined that the locationof the first user equipment is the first location and it is determinedthat the time of the call is within the working period, it may bedetermined whether the user equipment is connected to the wearabledevice, and after it is determined that the user equipment is notconnected to the wearable device, step 305 is performed, or determiningwhether the time of the call is within the working period, determiningwhether the location of the first user equipment is the first location,and determining whether the user equipment is connected to the wearabledevice may be performed, and after it is determined that the time of thecall is within the working period, it is determined that the location ofthe first user equipment is the first location, and it is determinedthat the user equipment is not connected to the wearable device, step305 is performed. An order of determining whether the time of the callis within the working period, determining whether the location of thefirst user equipment is the first location, and determining that theuser equipment is not connected to the wearable device is not limited inthis embodiment.

Step 306: The first user equipment sends a call transfer instruction toa server.

This step is the same as step 205 in the foregoing embodiment, anddetails are not described herein again.

Optionally, because the first user equipment is connected to thewearable device mainly in a wireless connection manner, an effectivedistance of the wireless connection can ensure that the user can answerthe call to the first user equipment within the effective distance, andthe wearable device has a call prompt function. After the first userequipment is connected to the wearable device, the call to the firstuser equipment may be prompted to the user using the call promptfunction of the wearable device. Therefore, after the first userequipment detects that the first user equipment is reconnected to thewearable device, a call transfer function of the first user equipmentmay be stopped.

Optionally, after the call to the first user equipment is successfullytransferred to the second user equipment corresponding to the number ofthe call, first prompt information used to indicate that the call to thefirst user equipment is already transferred to the second user equipmentmay be sent to the second user equipment.

Optionally, after the call to the first user equipment is transferred tothe second user equipment corresponding to the number of the call, thefirst user equipment may also periodically display transfer-completionprompt information used to indicate that the call to the first userequipment is already transferred to the second user equipment, and inthe scenario 2, when the user can use the first user equipment, the usermay stop the call transfer function of the first user equipment on thefirst user equipment after acquiring the transfer-completion promptinformation. Exemplarily, the prompt information includes, but is notlimited to, audio information.

Optionally, because the first user equipment can only transfer the callto the second user equipment, in order not to miss any important shortmessage service message on the first user equipment, after receiving ashort message service message, the first user equipment may also send,to a sending device of the short message service message, second promptinformation used to indicate that the call to the first user equipmentis already transferred to the second user equipment. In order to reduceresources of the first user equipment, at least one important number maybe preset, and after a short message service message is received, it isdetermined whether a phone number of a sending device that sends theshort message service message is an important number, the second promptinformation used to indicate that the call to the first user equipmentis already transferred to the second user equipment is sent to thesender if the phone number of the sending device is an important number,and no processing is performed on the short message service message ifthe phone number of the sending device is not an important number.

Optionally, after the first user equipment receives a resettinginstruction input by the user, the trigger number may be further reset.The trigger number may be added or deleted.

It should be noted that “first” and “second’ in this embodiment of thepresent disclosure are merely used to differentiate the differencebetween them but not specific references.

This embodiment of the present disclosure provides a call transfermethod such that when a number of a call is a trigger number and a ringparameter corresponding to the number of the call meets a presetcondition, the call to first user equipment is transferred, therebyimproving accuracy of call transfer and improving an interactivecapability of the user equipment.

Another embodiment of the present disclosure provides user equipment 4,where the user equipment 4 is configured to perform the call transfermethod provided by any embodiment of the embodiments shown in FIG. 1 toFIG. 3. Referring to FIG. 4, the user equipment 4 includes an acquiringunit 41 configured to acquire a phone number of a current call to firstuser equipment, a determining unit 42 configured to determine whetherthe phone number of the current call is a trigger number, where when thephone number of the current call is the trigger number, the determiningunit 42 is further configured to determine whether a ring parametercorresponding to the number of the call meets a preset condition, wherethe ring parameter includes a quantity of rings and/or duration of aring, and a sending unit 43 configured to send a call transferinstruction to a server if the ring parameter corresponding to thenumber of the call meets the preset condition, where the call transferinstruction is used to instruct the server to transfer, after receivingthe call transfer instruction, the call to the first user equipment tosecond user equipment corresponding to the number of the call.

Optionally, the determining unit 42 is further configured to perform atleast one of determining that a time of the current call is within aworking period, determining that a location of the first user equipmentis a preset location, and determining that the first user equipment isnot connected to a wearable device.

Optionally, the user equipment 4 further includes a setting unit (notshown), where the setting unit is configured to receive a settinginstruction input by a user, and set and store at least one triggernumber according to the setting instruction.

Optionally, the sending unit 43 is further configured to send firstprompt information to the second user equipment, where the first promptinformation is used to indicate that the call to the first userequipment is already transferred to the second user equipment.

Optionally, the sending unit 43 is further configured to send secondprompt information to a sending device that sends the short messageservice message after receiving a short message service message, wherethe second prompt information is used to indicate that the call to thefirst user equipment is already transferred to the second userequipment.

This embodiment of the present disclosure provides user equipment suchthat when a number of a call is a trigger number and a ring parametercorresponding to the number of the call meets a preset condition, thecall to first user equipment is transferred, thereby improving accuracyof call transfer and improving an interactive capability of the userequipment.

Another embodiment of the present disclosure provides user equipment 5,where the user equipment 5 is configured to perform the call transfermethod provided by any embodiment of the embodiments shown in FIG. 1 toFIG. 3. Referring to FIG. 5, the user equipment 5 includes a transmitter51, a receiver 52, a memory 53, and a processor 54 that communicatesseparately with the transmitter 51, the receiver 52, and the memory 53.Certainly, the user equipment 5 may further include common componentssuch as an antenna, a baseband processing component, an intermediateradio frequency processing component, and an input/output apparatus,which is not limited in this embodiment of the present disclosure.

The processor 54 is configured to acquire a phone number of a currentcall to first user equipment, determine whether the phone number of thecurrent call is a trigger number, and determine whether a ring parametercorresponding to the number of the call meets a preset condition if thephone number of the current call is the trigger number, where the ringparameter includes a quantity of rings and/or duration of a ring.

The transmitter 51 is configured to send a call transfer instruction toa server if the ring parameter corresponding to the number of the callmeets the preset condition, where the call transfer instruction is usedto instruct the server to transfer, after receiving the call transferinstruction, the call to the first user equipment to second userequipment corresponding to the number of the call.

Optionally, before sending the call transfer instruction to the server,the processor 54 is configured to perform at least one of determiningthat a time of the current call is within a working period, determiningthat a location of the first user equipment is a preset location, anddetermining that the first user equipment is not connected to a wearabledevice.

Optionally, before determining whether the phone number of the currentcall is the trigger number, the processor 54 is further configured toreceive a setting instruction input by a user, and set and store atleast one trigger number according to the setting instruction.

Optionally, the transmitter 51 is further configured to send firstprompt information to the second user equipment, where the first promptinformation is used to indicate that the call to the first userequipment is already transferred to the second user equipment.

Optionally, the receiver 52 is configured to receive a short messageservice message, and after the receiver 52 receives the short messageservice message, the transmitter 51 is further configured to send secondprompt information to a sending device that sends the short messageservice message, where the second prompt information is used to indicatethat the call to the first user equipment is already transferred to thesecond user equipment.

This embodiment of the present disclosure provides a call transfermethod such that when a number of a call is a trigger number and a ringparameter corresponding to the number of the call meets a presetcondition, the call to first user equipment is transferred, therebyimproving accuracy of call transfer and improving an interactivecapability of the user equipment.

It should be noted that, terms such as call forwarding and incoming calltransfer mentioned in the embodiments of the present disclosure all havea same meaning, and in actual applications, call forwarding and incomingcall transfer may be replaced by terms such as call diverting, incomingcall forwarding, incoming call diverting, call diverting, call transferand call forwarding.

When the user equipment provided by the foregoing embodiments performscall transfer, division of the foregoing function modules is merely usedas an example for description, and in actual applications, the foregoingfunctions can be allocated to different function modules and implementedaccording to the need, that is, an internal structure of an apparatusand a device is divided into different function modules to implement allor some of the functions described above. In addition, the userequipment and the call transfer method embodiment that are provided bythe embodiments belong to a same concept, and for a specificimplementation process, refer to the method embodiment, and details arenot described herein again.

The sequence numbers of the foregoing embodiments of the presentdisclosure are merely for illustrative purposes, and are not intended toindicate priorities of the embodiments.

A person of ordinary skill in the art may understand that all or some ofthe steps of the embodiments may be implemented by hardware or a programinstructing related hardware. The program may be stored in acomputer-readable storage medium. The storage medium may include aread-only memory, a magnetic disk, or an optical disc.

The foregoing descriptions are merely exemplary embodiments of thepresent disclosure, but are not intended to limit the presentdisclosure. Any modification, equivalent replacement, and improvementmade without departing from the spirit and principle of the presentdisclosure shall fall within the protection scope of the presentdisclosure.

1.-5. (canceled)
 6. A call transfer method implemented by userequipment, comprising: acquiring a phone number of a current call to afirst user equipment; determining whether the phone number of thecurrent call is a trigger number; determining whether a ring parametercorresponding to the phone number of the current call meets a presetcondition when the phone number of the current call is the triggernumber, wherein the ring parameter comprises a quantity of rings orduration of a ring; and sending a call transfer instruction to a serverwhen the ring parameter corresponding to the phone number of the currentcall meets the preset condition, wherein the call transfer instructionis used to instruct the server to transfer the current call to the firstuser equipment to a second user equipment corresponding to the phonenumber of the current call.
 7. The method according to claim 6, whereinbefore sending the call transfer instruction to the server, the methodfurther comprises at least one of the following: determining that a timeof the current call is within a working period; determining that alocation of the first user equipment is a preset location; anddetermining that the first user equipment is not connected to a wearabledevice.
 8. The method according to claim 6, wherein before determiningwhether the phone number of the current call is the trigger number, themethod further comprises: receiving a setting instruction input by auser; and setting and storing at least one trigger number according tothe setting instruction.
 9. The method according to claim 6, whereinafter sending the call transfer instruction to the server, the methodfurther comprises sending first prompt information to the second userequipment, wherein the first prompt information is used to indicate thatthe current call to the first user equipment is already transferred tothe second user equipment.
 10. The method according to claim 6, whereinafter sending the call transfer instruction to the server, the methodfurther comprises sending second prompt information to a sending devicethat sends a short message service message after receiving the shortmessage service message, wherein the second prompt information is usedto indicate that the current call to the first user equipment is alreadytransferred to the second user equipment.
 11. User equipment,comprising: a transmitter; a receiver coupled to the transmitter; amemory coupled to the receiver and the transmitter; and a processorcoupled to the memory, wherein the memory stores a set of program code,wherein the processor is configured to invoke the program code stored inthe memory to: acquire a phone number of a current call to a first userequipment; determine whether the phone number of the current call is atrigger number; and determine whether a ring parameter corresponding tothe phone number of the current call meets a preset condition when thephone number of the current call is the trigger number, wherein the ringparameter comprises a quantity of rings or duration of a ring, andwherein the transmitter is configured to send a call transferinstruction to a server when the ring parameter corresponding to thephone number of the current call meets the preset condition, wherein thecall transfer instruction is used to instruct the server to transfer thecurrent call to the first user equipment to a second user equipmentcorresponding to the phone number of the current call.
 12. The userequipment according to claim 11, wherein before sending the calltransfer instruction to the server, the processor is further configuredto perform at least one of the following operations: determine that atime of the current call is within a working period; determine that alocation of the first user equipment is a preset location; and determinethat the first user equipment is not connected to a wearable device. 13.The user equipment according to claim 11, wherein before determiningwhether the phone number of the current call is the trigger number, theprocessor is further configured to: receive a setting instruction inputby a user; and set and store at least one trigger number in the memoryaccording to the setting instruction,
 14. The user equipment accordingto claim 11, wherein the transmitter is further configured to send firstprompt information to the second user equipment, wherein the firstprompt information is used to indicate that the current call to thefirst user equipment is already transferred to the second userequipment.
 15. The user equipment according to claim 11, wherein thereceiver is configured to receive a short message service message; andwherein after the receiver receives the short message service messagethe transmitter is further configured to send second prompt informationto a sending device that sends the short message service message,wherein the second prompt information is used to indicate that thecurrent call to the first user equipment is already transferred to thesecond user equipment.
 16. The method according to claim 7, whereinbefore determining whether the phone number of the current call is thetrigger number, the method further comprises: receiving a settinginstruction input by a user; and setting and storing at least onetrigger number according to the setting instruction.
 17. The methodaccording to claim 7, wherein after sending the call transferinstruction to the server, the method further comprises sending firstprompt information to the second user equipment, wherein the firstprompt information is used to indicate that the current call to thefirst user equipment is already transferred to the second userequipment.
 18. The method according to claim 8, wherein after sendingthe call transfer instruction to the server, the method furthercomprises sending first prompt information to the second user equipment,wherein the first prompt information is used to indicate that thecurrent call to the first user equipment is already transferred to thesecond user equipment.
 19. The method according to claim 7, whereinafter sending the call transfer instruction to the server, the methodfurther comprises sending second prompt information to a sending devicethat sends a short message service message after receiving the shortmessage service message, wherein the second prompt information is usedto indicate that the current call to the first user equipment is alreadytransferred to the second user equipment.
 20. The method according toclaim 8, wherein after sending the call transfer instruction to theserver, the method further comprises sending second prompt informationto a sending device that sends a short message service message afterreceiving the short message service message, wherein the second promptinformation is used to indicate that the call to the first userequipment is already transferred to the second user equipment.
 21. Theuser equipment according to claim 12, wherein before determining whetherthe phone number of the current call is the trigger number the processoris further configured to: receive a setting instruction input by a user;and set and store at least one trigger number in the memory according tothe setting instruction.
 22. The user equipment according to claim 12,wherein the transmitter is further configured to send first promptinformation to the second user equipment, wherein the first promptinformation is used to indicate that the current call to the first userequipment is already transferred to the second user equipment.
 23. Theuser equipment according to claim 13, wherein the transmitter is furtherconfigured to send first prompt information to the second userequipment, wherein the first prompt information is used to indicate thatthe current call to the first user equipment is already transferred tothe second user equipment.
 24. The user equipment according to claim 12,wherein the receiver is configured to receive a short message servicemessage, and wherein the transmitter is further configured to sendsecond prompt information to a sending device that sends the shortmessage service message after the receiver receives the short messageservice message, wherein the second prompt information is used toindicate that the current call to the first user equipment is alreadytransferred to the second user equipment.
 25. The user equipmentaccording to claim 13, wherein the receiver is configured to receive ashort message service message, and wherein the transmitter is furtherconfigured to send second prompt information to a sending device thatsends the short message service message after the receiver receives theshort message service message, wherein the second prompt information isused to indicate that the current call to the first user equipment isalready transferred to the second user equipment.